package cn.sciento.farm.devicemanager.api.jsonrpc;

import cn.sciento.farm.devicemanager.dao.entity.TenantConfig;
import cn.sciento.farm.devicemanager.dao.model.ResponseMessage;
import com.googlecode.jsonrpc4j.JsonRpcMethod;
import com.googlecode.jsonrpc4j.JsonRpcService;

/**
 * 租客配置
 */
@JsonRpcService("rpc/hardware.config")
public interface TenantConfigJsonApi {

    ResponseMessage update(TenantConfig tenantConfig);

    ResponseMessage get();

}
